// @ts-check
"use strict";

const path = require("node:path");

const { nodeFileTrace, resolve } = require("@vercel/nft");

const files = [path.resolve(__dirname, "../lit-comp/index.ts")];

(async () => {
  const cache = Object.create(null);
  const { fileList } = await nodeFileTrace(files, {
    cache,
    ignore: (i) => i.endsWith("css"),
  });

  for (const i of fileList) {
    console.log(i);
  }
})();

// console.log(1);
// (async ()=>{
//   return await console.log(3)
// })().then(()=>console.log(4))
// console.log(2)
